<?php $this->load->module('index/index/order_header');?>
<div class="dx_main">
    <div class="payinfo">
        <div class="payinfo_price">
            <p>订单金额：</p>
            <p><span class="price"><dfn>¥</dfn><?php echo $order_account ;?></span></p>
        </div>
        <div class="payinfo_detail">
            <dl>
                <dt><?php echo $order_title ;?></dt><dd>数量：<?php echo $order_num ;?> <?php if($order_date):?>出发日期：<?php echo $order_date ;?><?php endif;?></dd>
            </dl>
        </div>
    </div>
    <h2 class="paytitle" style="" ><strong>您还需要支付：</strong><span class="price"><dfn>¥</dfn><?php echo $must_money ;?></span></h2>
    <form action="<?php echo $form_url ;?>" method="post" >
    <div id="divPayCatalogArea" class="payarea">
        <ul class="paytab" id="payCategory">
            <li class="catalogcodev2 current" type="first_con"> <a href="javascript:;" > 第三方支付 </a> </li>
            <li class="catalogcodev2" type="second_con"> <a href="javascript:;" style="display: none;"> 网上银行 </a> </li>
        </ul>
        <div style="" class="paybox">
            <ul class="paylist basefix" id="first_config">
                <li title="" class="commonpaywayliv2 selected">
                    <input type="radio"  name="Form[pay]" checked value="alipay" id="rbAlipay">
                    <label class="more_ali" title="支付宝" for="rbAlipay"></label>
                </li>
                <li title="" class="commonpaywayliv2">
                    <input type="radio" name="Form[pay]"  value="tenpay" id="rbCft">
                    <label class="more_cft" title="财付通" for="rbCft"></label>
                </li>
                <li title="" class="commonpaywayliv2">
                    <input type="radio" name="Form[pay]"  value="wxpay" id="wxpay">
                    <label class="more_wxpay" title="微信支付" for="wxpay"></label>
                </li>

            </ul>
            <ul class="paylist basefix" id="second_config" style="display: none;">
                <li title="" class="commonpaywayliv2 selected">
                    <input type="radio"  name="Form[pay]"  value="cmcc" id="rbGh" >
                    <label class="more_gh" title="交通银行" for="rbGh"></label>
                </li>
            </ul>

        </div>

    </div>
    <input type="hidden" name="Form[order_id]" value="<?php echo $order_id;?>" />
    <div class="zhifuan"><input type="image" src="<?php echo URLPRE;?>static/template/<?php echo TEMPLATE_NAME?>/images/yuxxx.jpg"  /></div>
    </form>

</div>
<script type="text/javascript">
$(function(){
   var $payClick = $('#payCategory').children('li');
    $payClick.on('click',function(){
        $(this).addClass('current').siblings('li').removeClass('current');
        var select  = $(this).attr('type');
        $('#'+select+'fig').show().siblings('ul').hide();
    })


    var $paybutton =  $('.paybox').find('li');

    $paybutton.on('click',function(){

        $('.paybox').find('li').removeClass('selected');
        $(this).addClass('selected') ;
    })
})
</script>
<?php $this->load->module('index/index/order_footer');?>